
import { postRequest, getRequest } from '@/lib/smart-request';

export const appDollApi = {

  bind: (param) => {
    return postRequest('/app/doll/bind', param);
  },


  unbind: (param) => {
    return postRequest('/app/doll/unbind', param);
  },

  detail: (param) => {
    return postRequest('/app/doll/detail', param);
  },

  nickName: (param) => {
    return postRequest('/app/doll/nickName', param);
  },

  album: (param) => {
    return postRequest('/app/doll/album', param);
  },

  uploadFile: (param, folder) => {
    return postRequest(`/support/file/upload?folder=${folder}`, param);
  },

};
